package com.ruoyi.ic.pojo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单表头对象 ic_general_h
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public class IcGeneralH extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 单据号 */
    @Excel(name = "单据号")
    private String vbillcode;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dbizdate;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private String ckid;

    /** 库管员ID */
    @Excel(name = "库管员ID")
    private String kgyid;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creater;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    /* 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getVbillcode() {
        return vbillcode;
    }

    public void setVbillcode(String vbillcode) {
        this.vbillcode = vbillcode;
    }

    public Date getDbizdate() {
        return dbizdate;
    }

    public void setDbizdate(Date dbizdate) {
        this.dbizdate = dbizdate;
    }

    public String getCkid() {
        return ckid;
    }

    public void setCkid(String ckid) {
        this.ckid = ckid;
    }

    public String getKgyid() {
        return kgyid;
    }

    public void setKgyid(String kgyid) {
        this.kgyid = kgyid;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vbillcode", getVbillcode())
            .append("dbizdate", getDbizdate())
            .append("ckid", getCkid())
            .append("kgyid", getKgyid())
            .append("remark", getRemark())
            .append("creater", getCreater())
            .append("createtime", getCreateTime())
            .append("updater", getUpdater())
            .append("updatetime", getUpdateTime())
            .append("del", getDel())
            .toString();
    }
}